
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>


<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>用户登录</title>
  <link rel="stylesheet" type="text/css" href="./CSS/login.css" >
  <script src="https://kit.fontawesome.com/46d4ac18d6.js" crossorigin="anonymous"></script>
</head>
<body>
<div class="w">
  <div class="account-content">
    <div class="account-title">
      用户登录
    </div>
    <form action="signOn" class="account-form" method="post">
      <c:if test="${requestScope.signOnMsg!=null}">
       <div class="account-form-error">
        <i class="fa-solid fa-circle-exclamation error-icon"></i>
        <p class="error-msg">${requestScope.signOnMsg}</p>
      </div>
      </c:if>
      <div class="account-form-item">
        <label for="username" class="account-form-label"><i class="fa-solid fa-account"></i></label>
        <input type="text" class="account-form-input" name="username" id="username" placeholder="请输入用户名" autocomplete="off">
      </div>
      <div class="account-form-item">
        <label for="password" class="account-form-label"><i class="fa-solid fa-lock"></i></label>
        <input type="text" class="account-form-input" name="password" id="password" placeholder="请输入密码"  autocomplete="off">
      </div>
      <div class="account-form-item">
        <input type="submit" value="登录" class="account-form-submit">
      </div>
      <div class="account-form-link">
        <a href="registerForm" class="link">用户注册</a>
      </div>
    </form>
  </div>
</div>
</body>
</html>
